<?php

function checkParam($param) {
	return (array_key_exists($param,$_GET) && ($_GET[$param] != ""));
}
	
function getParam($param) {
	return $_GET[$param];
}
	
	
function redirectError($message) {
	$_SESSION["errorMessage"] = $message;
	header("Location: index.php?page=error");
}

?>